import BaseMsg from "./BaseMsg";

export default class TextMsg extends BaseMsg {
    constructor() {
        super();
        this.setMsgType("text");
    }

    setContent(content) {
        let msgData = {
            content: content,
        };
        this.setMsgData(JSON.stringify(msgData));
    }
}
